
# include_directories(${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )

add_subdirectory(body)


########### next target ###############

set(stentities_STAT_SRCS
	sc_server.cpp
	sc_client.cpp
	world.cpp
# 	world_base.cpp
# 	world_client.cpp
	raycastvehicle.cpp
	car.cpp
	map.cpp
	map_mesh.cpp
	map_tile.cpp
	race.cpp
	entity.cpp
)

add_library(stentities STATIC ${stentities_STAT_SRCS})
TARGET_LINK_LIBRARIES ( stentities physics body stgui tinyxml )

########### install files ###############




#original Makefile.am contents follow:

#INCLUDES = $(all_includes) -I../../../utils/bullet -fopenmp
#METASOURCES = AUTO
#noinst_LTLIBRARIES = libentities.la
#noinst_HEADERS =		world.h \
#				world_base.h \
#				world_client.h \
#				car.h \
#				map.h \
#				race.h \
#				player.h \
#				entity.h
#
#libentities_la_SOURCES =	world.cpp \
#				world_base.cpp \
#				world_client.cpp \
#				car.cpp \
#				map.cpp \
#				race.cpp \
#				entity.cpp
#
#SUBDIRS = body
#
## libentities_la_LIBADD =	$(top_builddir)/src/gui/libgui.la \
## 				$(top_builddir)/src/utils/libutils.la \
## 				$(top_builddir)/src/math/libmath.la
